Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632703 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App

font/ cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/font/
1 Items
  • sans.ttf
  • assets/ cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/assets/
    1 Items
  • weather.png
  • clouds.jpg cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/clouds.jpg
    55 Views
    0 Comments
    Media file
    sunny.jpg cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/sunny.jpg
    60 Views
    0 Comments
    Media file
    snow.jpg cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/snow.jpg
    68 Views
    0 Comments
    Media file
    rain.jpg cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/rain.jpg
    69 Views
    0 Comments
    Media file
    Clear1.jpg cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/Clear1.jpg
    78 Views
    0 Comments
    Media file
    thunder.jpg cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/thunder.jpg
    63 Views
    0 Comments
    Media file
    style.css cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/style.css
    90 Views
    0 Comments
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

    @font-face {
    font-family: "sans";
    index.html cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/index.html
    282 Views
    0 Comments
    <!DOCTYPE html>
    <html lang="en">

    <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="assets/weather.png" type="image/x-icon">
    script.js cody/swapnilsparsh/30DaysOfJavaScript/25 - Weather App/script.js
    100 Views
    0 Comments
    const weatherApi = {
    key: "828cc99e0335c9476a8f751b7c386d9a",
    baseUrl: "https://api.openweathermap.org/data/2.5/weather"
    }

    const loc = document.querySelector('#location');
    const tempC = document.querySelector('.c');
    const tempF = document.querySelector('.f');